$def with (privData)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
$:privData['render'].header(privData)
<body>
$:privData['render'].pageheader(privData)

<h2>$:privData['NAME'] </h2>
<form action="$makeUrl('/admin/about/update')" method="post">
    <table width="750" border="0" cellspacing="0" cellpadding="1" class="addtable">
        <tr>
            <td width="100" scope="col">公司名称:</td>
            <td width="608" scope="col"><input name="company" type="text" value="$:privData['ABOUT']['company']" /></td>
        </tr>
         <tr>
            <td width="100" scope="col">公司LOGO:</td>
            <td width="608" scope="col">
                $:privData['render'].thumbnail_select_widget(privData)
            </td>
        </tr>
        <tr>
            <td width="100" scope="col"><b>公司地址:</b></td>
            <td width="608" scope="col"><input name="address" type="text" value="$:privData['ABOUT']['address']" /></td>
        </tr>
        <tr>
            <td width="100" scope="col"><b>邮政编码:</b></td>
            <td width="608" scope="col"><input name="postcode" type="text" value="$:privData['ABOUT']['postcode']" /></td>
        </tr>
        <tr>
            <td width="100" scope="col"><b>联系人:</b></td>
            <td width="608" scope="col"><input name="contact" type="text" value="$:privData['ABOUT']['contact']" /></td>
        </tr>
        <tr>
            <td width="100" scope="col"><b>电话:</b></td>
            <td width="608" scope="col"><input name="phoneno" type="text" value="$:privData['ABOUT']['phoneno']" /></td>
        </tr>
        <tr>
            <td width="100" scope="col"><b>传真:</b></td>
            <td width="608" scope="col"><input name="faxno" type="text" value="$:privData['ABOUT']['faxno']" /></td>
        </tr>
        <tr>
            <td width="100" scope="col"><b>邮箱地址:</b></td>
            <td width="608" scope="col"><input name="email" type="text" value="$:privData['ABOUT']['email']" /></td>
        </tr>
        <tr>
            <td width="100" scope="col"><b>微博:</b></td>
            <td width="608" scope="col"><input name="weibo" type="text" value="$:privData['ABOUT']['weibo']" /></td>
        </tr>
        <tr>
            <td width="100" scope="col"><b>微信:</b></td>
            <td width="608" scope="col"><input name="weixin" type="text" value="$:privData['ABOUT']['weixin']" /></td>
        </tr>
        <tr>
            <td width="100" scope="col"><b>公司简介:</b></td>
            <td width="608" scope="col"><input name="desc" type="text" value="$:privData['ABOUT']['desc']" /></td>
        </tr>
        <tr><td colspan="2" scope="col">
            <input name="id" type="hidden" value="$:privData['ABOUT']['id']"/>
            <input type="submit" name="submit" value="保存" id="submits"/>
            </td>
        </tr>
    </table>
</form>
</body></html>

